package com.guodi.model.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.guodi.model.entity.UeProjectAttachment;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @描述：项目管理-附件材料表 Mapper 接口
 * @作者: 徐金洲
 * @日期: 2023-05-06
 */
public interface UeProjectAttachmentMapper extends BaseMapper<UeProjectAttachment> {

    List<UeProjectAttachment> listTreeByParentId(@Param("projectId") String projectId);

    //List<UeProjectAttachment> queryTree(String tableName, String dataId, String name);

    boolean deleteByDirId(String id);

    boolean deleteByProjectId(String projectId);
}
